package domain

import (
    "time"
)

type Order struct {
    Id        uint
    OrderNo   string
    Price     float64
    CreatedAt time.Time
    Detail    []*OrderDetail
}

type OrderDetail struct {
    Id          uint
    OrderId     uint
    ProductId   uint
    ProductName string
    UnitPrice   float64
    Num         uint
    Price       float64
}
